<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<title>支付结果</title>  <link rel="icon" href="/template/pc1/images/wmh_favicon.ico" type="image/x-icon" />

	<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/template/wap4/recouse/css/confirm.css?v=111" />
	<link rel="stylesheet" href="/template/shop/css/order.css"  type="text/css" />
	<script type="text/javascript" src="/template/wap4/js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="/res/js/jquery.lSelect.js"></script>
	<script type="text/javascript" src="/res/js/jquery.validate.js"></script>

	<!--微信支付-->
	<script type="text/javascript" src="/res/plugins/weixin/static/weui/lib/jquery-2.1.4.js"></script>
	<script type='text/javascript' src="/res/plugins/weixin/static/weui/js/jquery-weui.js"></script>
	<!-- layer -->
	<script src="/res/plugins/weixin/static/layer/layer.js"></script>
	<style>
		body{padding-bottom:55px}

		.label_radio input {
			margin-right: 5px;
		}

		.has-js .label_radio {
			padding-left: 26px;
		}

		.has-js .label_radio {
			background-position: 0 0;
			background: url(/template/wap4/recouse/images/radio_none.png) no-repeat;
			background-size: 16px 16px;
		}
		.has-js label.r_on {
			background-position: 0 0px;
			background: url(/template/wap4/recouse/images/radio_check.png) no-repeat;
			background-size: 16px 16px;
		}
		.has-js .label_radio input {
			position: absolute;
			left: -9999px;
		}

		.btn-danger {
			color: #ffffff;
			background-color: #d9534f;
			border-color: #d43f3a;
		}

		.btn {
			display: inline-block;
			padding: 6px 12px;
			margin-bottom: 0;
			font-size: 14px;
			font-weight: normal;
			line-height: 1.428571429;
			text-align: center;
			white-space: nowrap;
			vertical-align: middle;
			cursor: pointer;
			background-image: none;
			border: 1px solid transparent;
			border-radius: 4px;
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			-o-user-select: none;
			user-select: none;
		}
	</style>

</head>
<body style="margin:0 auto;background: white; padding: 10px;">
<%if (paymentResult == "success"){%>
	<div class="infobox">
		<div class="message" style="color: red;text-align: center; font-size: 18px; padding-bottom: 14px;">
			<img style="width: 66px; margin: 20px;" src="/template/wap4/images/right.png"/><br>
			您的订单已经支付成功！
		</div>
	</div>
	<div class="infobox ">
		<div class="message" style="color: red;text-align: center; font-size: 18px; padding-bottom: 14px;">
			支付总金额<span class="red">${amountPayable + paymentFee,orderUnitCurrencyFormat}</span>
		</div>
	</div>
	<div class="infobox " style="padding: 10px;">
		<button type="button" id='submit'  name="submit" value="yes"  onclick="location.href='/b/order/orderListForm?shopId=${shopId}&type=dfh'"  style="width:100%;display: inline-block;float: right;padding: 0 33px;text-align: center;height: 35px;line-height: 35px;margin-right: 10px;color: #fff;background: #E50001 ;font-size: 16px;border: none;border-radius: 5px;">查看订单</button>
	</div>
<%}else{%>
	<div class="infobox">
		<div class="message" style="color: red;text-align: center; font-size: 18px; padding-bottom: 14px;">
			预存款余额不足！您的预存款余额为<span class="red">${loginMember.userBalance.balance,orderUnitCurrencyFormat}</span>
		</div>
	</div>
	<div class="infobox " style="padding: 10px;">
		<button type="button" id='submit'  name="submit" value="yes"  onclick="location.href='/b/customerCenter?shopId=${shopId}'"  style="width:100%;display: inline-block;float: right;padding: 0 33px;text-align: center;height: 35px;line-height: 35px;margin-right: 10px;color: #fff;background: #E50001 ;font-size: 16px;border: none;border-radius: 5px;">返回</button>
	</div>
<%}%>
<script src="/template/wap4/recouse/js/zepto.min.js" type="text/javascript"></script>
</body>
</html>